//
//  MBProgressHUD+Add.h
//  视频客户端
//
//  Created by mj on 13-4-18.
//  Copyright (c) 2013年 itcast. All rights reserved.
//

#import "MBProgressHUD.h"

@interface MBProgressHUD (Add)

+ (void)show:(NSString *)text icon:(NSString *)icon view:(UIView *)view;

+ (void)showTip:(NSString *)tip;
+ (void)showTip:(NSString *)tip toView:(UIView *)view;

+ (void)showError:(NSString *)error;
+ (void)showError:(NSString *)error toView:(UIView *)view;

+ (void)showSuccess:(NSString *)success;
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;

+ (void)showPlainText:(NSString *)text;
+ (void)showPlainText:(NSString *)text toView:(UIView *)view;

+ (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;

- (void)switchShowError:(NSString *)error;
- (void)switchShowSuccess:(NSString *)success;
- (void)switchShowTip:(NSString *)tip;

@end
